package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class WindowFrameUnits {

    private int beginIndex;
    private int endIndex;
    private boolean rows;
    private boolean range;

    public WindowFrameUnits(int beginIndex,
                            int endIndex,
                            boolean rows,
                            boolean range) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.rows = rows;
        this.range = range;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isRows() {
        return rows;
    }

    public boolean isRange() {
        return range;
    }

}
